{% extends "base.html" %} {% load static %}

{% block title %}
    Изменение пароля
{% endblock title %}


{% block loginform %}
<div class="login-container">
    <section class="home show">
        <div class="form_container active">
            <i class="uil uil-times form_close"></i>
            <!-- Signup From -->
            <div class="form signup_form">
                <form action="{% url 'account:password-change' %}" method="post">
                    {% csrf_token %}
                    <h2>Смена пароля</h2>

                    <div class="input_box">
                        <label
                            class="inputArea"
                            for="id_password"
                            class="form-label">
                        </label>
                        {{ form.email }}
                        <i class="uil uil-envelope-alt email"></i>
                    </div>

                    <button class="button registerBtn">
                        Сменить пароль
                    </button>

                    <div class="login_signup">
                        Есть аккаунт?
                        <a href="{% url 'account:login' %}" id="login">Войти</a>
                    </div>
                </form>
            </div>
        </div>
    </section>
</div>

{% endblock loginform %}
